package com.dinggao.crossgo.module.roadbook.data;

import java.io.Serializable;
import java.util.List;

/**
 * created by mapingan on 2018/8/3.
 */
public class RoadDetailsBean implements Serializable {

    /**
     * code : 0
     * message : success
     * data : {"id":994,"roadBookId":287,"creatorUserId":110,"content":"","tab":"洗手间","location":"山东省济南市历下区舜华西路","longitude":117.133,"latitude":36.6706,"visitation":null,"createTime":1534413475000,"updateTime":null,"deleted":0,"imgs":[{"img":"/img/pic/roadBookJournal/bda4dacac581450a8e4d805b4d9c23d0.png","journalId":994,"id":2137}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 994
         * roadBookId : 287
         * creatorUserId : 110
         * content :
         * tab : 洗手间
         * location : 山东省济南市历下区舜华西路
         * longitude : 117.133
         * latitude : 36.6706
         * visitation : null
         * createTime : 1534413475000
         * updateTime : null
         * deleted : 0
         * imgs : [{"img":"/img/pic/roadBookJournal/bda4dacac581450a8e4d805b4d9c23d0.png","journalId":994,"id":2137}]
         */

        private int id;
        private int roadBookId;
        private int creatorUserId;
        private String content;
        private String tab;
        private String location;
        private double longitude;
        private double latitude;
        private Object visitation;
        private long createTime;
        private Object updateTime;
        private int deleted;
        private List<ImgsBean> imgs;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getRoadBookId() {
            return roadBookId;
        }

        public void setRoadBookId(int roadBookId) {
            this.roadBookId = roadBookId;
        }

        public int getCreatorUserId() {
            return creatorUserId;
        }

        public void setCreatorUserId(int creatorUserId) {
            this.creatorUserId = creatorUserId;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTab() {
            return tab;
        }

        public void setTab(String tab) {
            this.tab = tab;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public Object getVisitation() {
            return visitation;
        }

        public void setVisitation(Object visitation) {
            this.visitation = visitation;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }

        public List<ImgsBean> getImgs() {
            return imgs;
        }

        public void setImgs(List<ImgsBean> imgs) {
            this.imgs = imgs;
        }

        public static class ImgsBean implements Serializable{
            /**
             * img : /img/pic/roadBookJournal/bda4dacac581450a8e4d805b4d9c23d0.png
             * journalId : 994
             * id : 2137
             */

            private String img;
            private int journalId;
            private int id;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getJournalId() {
                return journalId;
            }

            public void setJournalId(int journalId) {
                this.journalId = journalId;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
